package org.exez.modules.visitor.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 访客随行表
 * @Author: exez-boot
 * @Date:   2020-06-04
 * @Version: V1.0
 */
@Data
@TableName("visitor_accompanying")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="visitor_accompanying对象", description="访客随行表")
public class Accompanying {

	/**id*/
	@TableId(type = IdType.AUTO)
	@ApiModelProperty(value = "id")
	private java.lang.Integer id;
	/**申请id*/
	@Excel(name = "申请id", width = 15)
	@ApiModelProperty(value = "申请id")
	private java.lang.Integer reservationApplicationId;
	/**访客姓名*/
	@Excel(name = "访客姓名", width = 15)
	@ApiModelProperty(value = "访客姓名")
	private java.lang.String name;
	/**访客电话号码*/
	@Excel(name = "访客电话号码", width = 15)
	@ApiModelProperty(value = "访客电话号码")
	private java.lang.String mobile;
	/**访客身份证号*/
	@Excel(name = "访客身份证号", width = 15)
	@ApiModelProperty(value = "访客身份证号")
	private java.lang.String identityValue;

	/**
	 * 1身份证，2护照
	 */
	@Excel(name = "1身份证，2护照", width = 15)
	@ApiModelProperty(value = "1身份证，2护照")
	private java.lang.Integer identityType;

	/**访客性别 0:女 1：男*/
	@Excel(name = "访客性别 0:女 1：男", width = 15)
	@ApiModelProperty(value = "访客性别 0:女 1：男")
	private java.lang.Integer sex;
	/**访客所属公司*/
	@Excel(name = "访客所属公司", width = 15)
	@ApiModelProperty(value = "访客所属公司")
	private java.lang.String company;
	/**人脸采集(拍正面照)*/
	@Excel(name = "人脸采集(拍正面照)", width = 15)
	@ApiModelProperty(value = "人脸采集(拍正面照)")
	private java.lang.String facePhoto;
	/**
	 * 驾车拜访的输入车牌号
	 */
	@Excel(name = "驾车拜访的输入车牌号", width = 15)
	@ApiModelProperty(value = "驾车拜访的输入车牌号")
	private java.lang.String numberPlate;
	/**
	 * 创建时间
	 */
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建时间")
	private java.util.Date createTime;
	/**
	 * 修改时间
	 */
	@Excel(name = "修改时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "修改时间")
	private java.util.Date updateTime;

	/**
	 * 0：删除 1：未删除
	 */
	@Excel(name = "0：删除 1：未删除", width = 15)
	@ApiModelProperty(value = "0：删除 1：未删除")
	private Integer deleted;

	/**
	 * 甬行码颜色1,绿色  2，黄色  3红色
	 */
	@Excel(name = "甬行码颜色1,绿色  2，黄色  3红色", width = 15)
	@ApiModelProperty(value = "甬行码颜色1,绿色  2，黄色  3红色")
	private java.lang.Integer codeColour;
}
